<div data-role="page" data-url="<%= Rho::RhoConfig.start_path %>/">

  <div data-role="header" data-position="inline">
    <h1>Storemanager</h1>
    <% if SyncEngine::logged_in > 0 %>
    <a href="<%= url_for :controller => :Session, :action => :do_sync %>" class="ui-btn-left" data-icon="refresh">
      Sync
    </a>
    <a href="<%= url_for :controller => :Session, :action => :logout %>" class="ui-btn-right" data-icon="star">
      Logout
    </a>
    <% else %>
        <a href="<%= url_for :controller => :Session, :action => :login %>" class="ui-btn-right" data-icon="star">Login</a>
    <% end %>
  </div>

  <div data-role="content">
    <ul data-role="listview" data-filter="true" data-inset="true">
      <li>
      <a href="/app/Session/login"><span class="title">Login Page</span></a>      
      </li>
      <li>
      <a href="/app/Session/register"><span class="title">Register</span></a>
      </li>
      <li><a href="/app/Student"><span class="title">Student Home Page</span></a></li>
      <li><a href="/app/Student/conversation"><span class="title">Hội thoại</span></a></li>
      
      <li><a href="Grade"><span class="title">Grades</span></a></li>
      <li><a href="Subject"><span class="title">Subjects</span></a></li>
    </ul>
<br />
   <a href="/app/Teacher/index">Thong tin giao vien</a>
  </div>

</div>